package cn.yunhe.pojo;

import java.io.Serializable;

public class House implements Serializable {
    private int hid;
    private String htitle;
    private double hprice;
    private String hfloorage;
    private String hpubdate;
    private String hcontact;
    private String hdesc;
    private int hflag;

    private Users users;
    private Types types;
    private Street street;

    public House() {
    }

    public House(String htitle, double hprice, String hfloorage, String hpubdate, String hcontact, String hdesc, int hflag, Users users, Types types, Street street) {
        this.htitle = htitle;
        this.hprice = hprice;
        this.hfloorage = hfloorage;
        this.hpubdate = hpubdate;
        this.hcontact = hcontact;
        this.hdesc = hdesc;
        this.hflag = hflag;
        this.users = users;
        this.types = types;
        this.street = street;
    }

    public House(int hid, String htitle, double hprice, String hfloorage, String hpubdate, String hcontact, String hdesc, int hflag, Users users, Types types, Street street) {
        this.hid = hid;
        this.htitle = htitle;
        this.hprice = hprice;
        this.hfloorage = hfloorage;
        this.hpubdate = hpubdate;
        this.hcontact = hcontact;
        this.hdesc = hdesc;
        this.hflag = hflag;
        this.users = users;
        this.types = types;
        this.street = street;
    }

    public int getHid() {
        return hid;
    }

    public void setHid(int hid) {
        this.hid = hid;
    }

    public String getHtitle() {
        return htitle;
    }

    public void setHtitle(String htitle) {
        this.htitle = htitle;
    }

    public double getHprice() {
        return hprice;
    }

    public void setHprice(double hprice) {
        this.hprice = hprice;
    }

    public String getHfloorage() {
        return hfloorage;
    }

    public void setHfloorage(String hfloorage) {
        this.hfloorage = hfloorage;
    }

    public String getHpubdate() {
        return hpubdate;
    }

    public void setHpubdate(String hpubdate) {
        this.hpubdate = hpubdate;
    }

    public String getHcontact() {
        return hcontact;
    }

    public void setHcontact(String hcontact) {
        this.hcontact = hcontact;
    }

    public String getHdesc() {
        return hdesc;
    }

    public void setHdesc(String hdesc) {
        this.hdesc = hdesc;
    }

    public int getHflag() {
        return hflag;
    }

    public void setHflag(int hflag) {
        this.hflag = hflag;
    }

    public Users getUsers() {
        return users;
    }

    public void setUsers(Users users) {
        this.users = users;
    }

    public Types getTypes() {
        return types;
    }

    public void setTypes(Types types) {
        this.types = types;
    }

    public Street getStreet() {
        return street;
    }

    public void setStreet(Street street) {
        this.street = street;
    }
}
